package mundo.java.client;

import java.util.Map;

import mundo.java.shared.GreetingAction;
import mundo.java.shared.GreetingResponse;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("greet")
public interface GreetingService extends RemoteService {
	GreetingResponse greetServer(GreetingAction name);

	Map<GreetingAction, GreetingResponse> list();
}
